// 封装操作 token 的方法
const KEY = 'hmmj-pc-element-token-94'

// 存储 token
export const setToken = token => localStorage.setItem(KEY, token)

// 获取 token
export const getToken = () => localStorage.getItem(KEY)

// 删除 token
export const delToken = () => localStorage.removeItem(KEY)
